package com.mdd.admin.validate.competition;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("赛事申请创建参数")
public class CompetitionApplyCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "competitionId参数缺失")
    @ApiModelProperty(value = "")
    private Integer competitionId;

    @NotNull(message = "teamId参数缺失")
    @ApiModelProperty(value = "")
    private String teamNo;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "")
    private Integer status;

    @NotNull(message = "createId参数缺失")
    @ApiModelProperty(value = "")
    private Integer createId;

}
